//
//  TTUserModel.h
//  ExhibitionHall
//
//  Created by 王洋 on 2019/6/15.
//  Copyright © 2019 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TTUserModel : NSObject

+ (TTUserModel *)sharedObject;
- (void)initialization;
- (BOOL)isLogged;

@property (nonatomic, copy) NSString   *loginStatus;

//用户名
@property (nonatomic, copy) NSString   *userName;

//用户头像
@property (nonatomic, copy) NSString   *userIconURL;

//token
@property (nonatomic, copy) NSString   *accessToken;

//推荐码
@property (nonatomic, copy) NSString   *recommandCode;

//连房间的时候会寸，用户退出登录的时候置空
@property (nonatomic, copy) NSString   *userID;

//用户登录保存的信息,供下一次使用
@property (nonatomic, assign) BOOL     isSaveAccountAndPassword;
@property (nonatomic, copy) NSString   *userLoginAccount;
@property (nonatomic, copy) NSString   *userLoginPSW;




@property (nonatomic, assign) PP_UserVerifyType verifyType;


@property (nonatomic, strong) NSUserDefaults *userModelDefault;

@end

NS_ASSUME_NONNULL_END
